/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;

using JDCloudSDK.Core.Annotation;

namespace JDCloudSDK.Waf.Model
{

    /// <summary>
    ///  getEsLogReq
    /// </summary>
    public class GetEsLogReq
    {

        ///<summary>
        /// 实例id，代表要查询的WAF实例，为空时表示当前用户下的所有实例
        ///</summary>
        public string WafInstanceId{ get; set; }
        ///<summary>
        /// 域名，为空时表示当前实例下的所有域名
        ///</summary>
        public string Domain{ get; set; }
        ///<summary>
        /// 来源ip，检索字段
        ///</summary>
        public string RemoteAddr{ get; set; }
        ///<summary>
        /// 动作，检索字段
        ///</summary>
        public string Action{ get; set; }
        ///<summary>
        /// 状态码，检索字段
        ///</summary>
        public string Status{ get; set; }
        ///<summary>
        /// LogType
        ///</summary>
        public List<string> LogType{ get; set; }
        ///<summary>
        /// 日志Id，检索字段
        ///</summary>
        public string LogId{ get; set; }
        ///<summary>
        /// 开始时间戳，单位秒，时间间隔要求大于5分钟，小于30天。
        ///Required:true
        ///</summary>
        [Required]
        public int Start{ get; set; }
        ///<summary>
        /// 结束时间戳，单位秒，时间间隔要求大于5分钟，小于30天。
        ///Required:true
        ///</summary>
        [Required]
        public int End{ get; set; }
        ///<summary>
        /// 每页显示的个数，默认是10。
        ///</summary>
        public int? PageSize{ get; set; }
        ///<summary>
        /// 页数，默认是1。
        ///</summary>
        public int? PageIndex{ get; set; }
    }
}
